package com.aaa.controller;

import com.aaa.service.impl.ForderpServiceImpl;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("forderp")
public class ForderpController {
    @Resource
    ForderpServiceImpl impl;
    @RequestMapping("add")
    public Integer add(Integer book, Integer num, double price, double money, Integer forder, Integer state) {
        return impl.add(book,num,price,money,forder,state);
    }
}
